<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/commonList.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>${key.charge_latefee_title}</title>
<script type="text/javascript">
 	function reSetTotalAmt(value){
  	   document.getElementById("totalAmtId").innerHTML=""+value+"&nbsp;";
  	}
  	function reSetCurReliefAmt(value){
   	   document.getElementById("curReliefAmtId").innerHTML=""+value+"&nbsp;";
   	}
</script>
</head>
<body>
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td class="bg_toolBar"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="35%" align="right"><table border="0" cellpadding="0" cellspacing="0" id="ico1">
                          <tr>
                          <pms:AuthTag authName="charge_cashieringAction.do?method=addLateFeeDerateByGross">
                            <td class="toolbarico"><a href="#" onClick="parent.openDerateByGross();" onFocus="this.blur()"><img src="${ctx}/images/ico_zxsf_sqth_jian.gif" border="0" align="absbottom" alt="按总额减免"/>&nbsp;按总额减免</a></td>
                          </pms:AuthTag>
                          <pms:AuthTag authName="charge_cashieringAction.do?method=addAdjustFeeRate">
                            <td class="toolbarico"><a href="#" onClick="parent.openAdjustFeeRate();" onFocus="this.blur()"><img src="${ctx}/images/charge_sjlr_tzds.gif" border="0" align="absbottom" alt="调整比率"/>&nbsp;比率调整</a></td>
                          </pms:AuthTag>
                          </tr>
                      </table></td>
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td colspan="5" >
                  <ec:ceTable   items="lateFeeList"
								action="${ctx}/charge_cashieringAction.do?method=initAllLateFeeList"
								var="lateFeeItem"
								view="pmsview"
								styleClass="gridData2"
								rowsDisplayed="6">
								<ec:ceRow styleClass="grid">
									<ec:ceColumn property="period" headerCell="pmsHeadrCell" width="12%" title="收费周期" sortable="true" showTitle="false" >
										<span <c:if test="${lateFeeItem.hasRelief=='1'}">style="color:#666;"</c:if>>${lateFeeItem.period }</span>
									</ec:ceColumn>
									<ec:ceColumn property="masterTransName" headerCell="pmsHeadrCell"  width="12%"  title="来源交易" sortable="true" showTitle="false">
										<span <c:if test="${lateFeeItem.hasRelief=='1'}">style="color:#666;"</c:if>>${lateFeeItem.masterTransName }</span>
									</ec:ceColumn>
									<ec:ceColumn  property="masterDebit" headerCell="pmsHeadrCell"  width="14%" title="来源交易本金(元)" sortable="true" showTitle="false">
										<span <c:if test="${lateFeeItem.hasRelief=='1'}">style="color:#666;"</c:if>><fmt:formatNumber value="${lateFeeItem.masterDebit}" pattern="###,##0.00"/></span>
									</ec:ceColumn>
									<ec:ceColumn property="receivablePrice" headerCell="pmsHeadrCell"   width="12%" title="滞纳金金额(元)" sortable="true" showTitle="false">
										<span <c:if test="${lateFeeItem.hasRelief=='1'}">style="color:#666;"</c:if>><fmt:formatNumber value="${lateFeeItem.receivablePrice}" pattern="###,##0.00"/></span>
									</ec:ceColumn>
									<ec:ceColumn property="preRate" headerCell="pmsHeadrCell"   width="18%" title="滞纳金系统预设比率(%)" sortable="true" showTitle="false">
										<span <c:if test="${lateFeeItem.hasRelief=='1'}">style="color:#666;"</c:if>>${lateFeeItem.preRate }</span>
									</ec:ceColumn>
									<ec:ceColumn property="tempRate" headerCell="pmsHeadrCell"   width="18%" title="滞纳金临时调整比率(%)" sortable="true" showTitle="false">
										<span <c:if test="${lateFeeItem.hasRelief=='1'}">style="color:#666;"</c:if>>${lateFeeItem.tempRate }</span>
									</ec:ceColumn>
									<ec:ceColumn property="remark" headerCell="pmsHeadrCell"   width="16%" title="交易摘要" sortable="true" showTitle="false">
										<span <c:if test="${lateFeeItem.hasRelief=='1'}">style="color:#666;"</c:if>>${lateFeeItem.remark }</span>
									</ec:ceColumn>
								</ec:ceRow>
								<ec:parameter name="accountId" value="${lateFeeItem.accountId}"></ec:parameter>
								<ec:parameter name="perioId" value="${lateFeeItem.periodId}"></ec:parameter>
								<ec:parameter name="businessCodeId" value="${lateFeeItem.businessId}"></ec:parameter>
								<ec:parameter name="curReliefAmt" value="${curReliefAmt}"></ec:parameter>
				</ec:ceTable>
				<div id="ceTable_Bottom">
				<table width="100%" border="0" cellspacing="0" cellpadding="0"  class='gridData2'>
                 <td align="right" class="chareg_hj"><strong>本次减免滞纳金：</strong></td>
                        <td class="chareg_hj"><span class="font_red" id="curReliefAmtId"><fmt:formatNumber pattern="###,##0.00" value="${curReliefAmt}"/></span><strong>元</strong>&nbsp;</td>
					    <td align="right" class="chareg_hj"><strong>滞纳金合计：</strong></td>
                        <td class="chareg_hj"><span class="font_red" id="totalAmtId"><fmt:formatNumber pattern="###,##0.00" value="${totalAmt}"/>
                        </span><strong>元</strong>&nbsp;</td>
                        <td class="chareg_hj"> </td>
                        <td align="right" class="chareg_hj">&nbsp; </td>
                        <td align="right" class="chareg_hj">&nbsp; </td>
                </table></div>
                  </td>
              </tr>
          </table>
</body>
</html>